package com.example.demo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description: processor读取的测试
 * @author: LiuYC
 * @date: 2021年04月21日 8:37
 */
@Component
@EnableConfigurationProperties
@ConfigurationProperties(prefix = "cuckoo")
@Data
public class TestConfig {
    private String test;
    private String demo;
}

